* (bug 4000) Support for \textstyle et al. in <math>
authorRob Church <robchurch@users.mediawiki.org>
Thu, 12 Jan 2006 20:20:07 +0000 (20:20 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Thu, 12 Jan 2006 20:20:07 +0000 (20:20 +0000)
RELEASE-NOTES
math/texutil.ml

index bdbccc1..b010898 100644 (file)
@@ -467,6 +467,7 @@ fully support the editing toolbar, but was found to be too confusing.
 * Avoid PHP notice on command-line scripts if empty argument is passed ('')
 * (bug 4571) Partial fix hack for {{fulllurl:}} in action=render
 * (bug 3502) Bowtie symbol for TeX
+* (bug 4000) Support for \textstyle et al. in <math>
 
 
 === Caveats ===
index 7ee24fc..8309657 100644 (file)
@@ -450,6 +450,10 @@ let find = function
     | "\\rm"               -> DECLh ("\\rm ", FONTFORCE_RM)
     | "\\it"               -> DECLh ("\\it ", FONTFORCE_IT)
     | "\\cal"              -> DECL "\\cal "
+       | "\\displaystyle"     -> LITERAL (TEX_ONLY  "\\displaystyle ")
+       | "\\scriptstyle"      -> LITERAL (TEX_ONLY "\\scriptstyle ")
+       | "\\textstyle"        -> LITERAL (TEX_ONLY "\\textstyle ")
+       | "\\scriptscriptstyle"-> LITERAL (TEX_ONLY "\\scriptscriptstyle ")
     | "\\bf"               -> DECL "\\bf "
     | "\\big"              -> BIG "\\big "
     | "\\Big"              -> BIG "\\Big "